package com.slz3.business.module.afterSaleManagement.aftApplyOrderLine.service;

import com.slz3.business.module.afterSaleManagement.aftApplyOrderLine.domain.AftApplyOrderLine;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface AftApplyOrderLineService {

    AftApplyOrderLine save(AftApplyOrderLine aftApplyOrderLine);

    Page<AftApplyOrderLine> page(MultiValueMap<String,String> queryParams);

    List<AftApplyOrderLine> findBySerAfterSaleId(UUID serAfterSaleId);

    AftApplyOrderLine modify(AftApplyOrderLine aftApplyOrderLine);

    Optional<AftApplyOrderLine> single(UUID uuid);

    List<AftApplyOrderLine> findAllByUuids(Iterable<UUID> uuids);

    List<AftApplyOrderLine> delete(List<AftApplyOrderLine> aftApplyOrderLineList);

}
